﻿using SqlSugar;
using System;

namespace HY.Model
{
    [SugarTable("YRecord")]
    public class YRecord
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 购买备案号    
        /// </summary>
        public string GNumber { get; set; }

        /// <summary>
        /// 购买单位或个人(收货单位)    
        /// </summary>
        public string GCompany { get; set; }

        /// <summary>
        /// 运输备案号    
        /// </summary>
        public string YNumber { get; set; }

        /// <summary>
        /// 运输单位    
        /// </summary>
        public string YCompany { get; set; }

        /// <summary>
        /// 称重序号    
        /// </summary>
        public string RecordId { get; set; }

        /// <summary>
        /// 运输物品    
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 车牌号    
        /// </summary>
        public string Plate { get; set; }

        /// <summary>
        /// 运输时间    
        /// </summary>
        public DateTime? TransTime { get; set; }

        /// <summary>
        /// 运输重量(kg)    
        /// </summary>
        public int? Weight { get; set; }

        /// <summary>
        /// 剩余重量(kg)    
        /// </summary>
        public int? RemainingWeight { get; set; }

        /// <summary>
        /// 无    
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 运输时价格
        /// </summary>
        public decimal? Price { get; set; }

        /// <summary>
        /// 更新时间(用于记录后续启用的价格时间)
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
